package com.niiwoo.civet.mobile.vo.response.invest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
@ApiModel("省心投配置")
public class InvestmentRateInfoResponseVO {

    private List<DeadlineAndRateInfo> provincialInvestmentlist;

    @Setter
    @Getter
    @ToString
    public static class DeadlineAndRateInfo{
        @ApiModelProperty("type 1智能投,2散标,3债转")
        private Byte type ;

        @ApiModelProperty("利率起")
        private BigDecimal rateBegin = new BigDecimal("0.09");

        @ApiModelProperty("利率止")
        private BigDecimal rateEnd = new BigDecimal("0.15");

        @ApiModelProperty("期限起")
        private Integer deadlineBegin = 3;
        @ApiModelProperty("期限单位起")
        private Byte deadlineUnitBegin = (byte)1;

        @ApiModelProperty("期限止")
        private Integer deadlineEnd = 12;
        @ApiModelProperty("期限单位止")
        private Byte deadlineUnitEnd = (byte)1;
        @ApiModelProperty("起投金额")
        private BigDecimal startInvestAmount = new BigDecimal("100");

    }
}
